using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using Winter.BackEnd.Models.Domain;
using System.Web.Security;

namespace Winter.BackEnd.Controllers
{
    public abstract class ApplicationController : Controller
    {

        public ApplicationController()
            : base()
        {
            if (Repository.CurrentUser != null)
            {
                ViewData["NavigationMenu"] = Repository.CurrentUser.Person.PersonInRole.NavigationMenu;
            }
        }

    }
}
